﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace ECube.SEC.FormsAuthentication.Models
{
    public class UserLogin 
    {
        [Required(ErrorMessage = "请输入登录名！")]
        public string UserName { get; set; }

        [Required(ErrorMessage="请输入密码！")]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        public string LoginDomain { get; set; }

        [DisplayName("RememberUserLabel")]
        public bool RememberMe { get; set; }
    }
}
